Method for fingerprint unlocking and terminal

ABSTRACT

A method for fingerprint unlocking is provided. Fingerprint information for an application to be unlocked is acquired. The fingerprint information is compared with preset fingerprint information. A display page of the application to be unlocked is refreshed in parallel with comparing the fingerprint information with the preset fingerprint information. A refreshed display page of the application to be unlocked is displayed, when the fingerprint information matches the preset fingerprint information successfully. A terminal is also provided.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation of international application No.PCT/CN2017/079797, filed on Apr. 7, 2017, which claims priority toChinese Patent Application No. 201610226693.5, filed on Apr. 12, 2016,which disclosures are herein incorporated by reference in theirentireties.

TECHNICAL FIELD

This disclosure relates to the technical field of terminal devices, andparticularly to a method for fingerprint unlocking and a terminal.

BACKGROUND

With rapid development of information technology, terminals (such asmobile phones, tablet computers, etc.) are widely used. Fingerprintrecognition technology serving as a standard configuration technology ofthe terminal has been widely applied to unlock the terminal, wakeup theterminal, mobile payment, and so on. Whilst the fingerprint recognitiontechnology is popular, unlocking time of the terminal is an issue thatis directly concerned by terminal manufacturers in order to achievequick unlocking.

In actual use, application unlocking process means that when anapplication is encrypted, the application needs to be unlocked when auser opens the application after unlocking the terminal. A process ofunlocking the application is to perform the entire fingerprint unlockingprocess first, then execute a main thread to refresh a display page ofthe application, finally unlock the application, and launch theapplication. Thus, the efficiency of fingerprint unlocking isdisadvantageously affected.

SUMMARY

Implementations of the present disclosure provide a method forfingerprint unlocking and a terminal.

According to a first aspect of the implementations of the presentdisclosure, a method for fingerprint unlocking is provided. The methodincludes the follows.

Fingerprint information for an application to be unlocked is acquired.The fingerprint information is compared with preset fingerprintinformation. A display page of the application to be unlocked isrefreshed in parallel with comparing the fingerprint information withthe preset fingerprint information. A refreshed display page of theapplication to be unlocked is displayed, when the fingerprintinformation matches the preset fingerprint information successfully.

According to a second aspect of the implementations of the presentdisclosure, a terminal is provided. The terminal includes an acquiringunit, a comparing unit, a refreshing unit, and a displaying unit.

The acquiring unit is configured to acquire fingerprint information foran application to be unlocked.

The comparing unit is configured to compare the fingerprint informationacquired by the acquiring unit with preset fingerprint information.

The refreshing unit is configured to refresh a display page of theapplication to be unlocked in parallel with comparison of thefingerprint information and the preset fingerprint information.

The displaying unit is configured to display a refreshed display page ofthe application to be unlocked, when the comparison indicates that thefingerprint information matches the preset fingerprint informationsuccessfully.

According to a third aspect of the implementations of the presentdisclosure, a terminal is provided. The terminal includes at least oneprocessor and a computer readable storage coupled to the at least oneprocessor. The computer readable storage is configured to store at leastone computer executable instruction thereon which, when executed by theat least one processor, causes the at least one processor to carry outall or part of the actions of any method according to the first aspectof the implementations of the present disclosure.

According to a fourth aspect of the implementations of the presentdisclosure, a non-transitory computer-readable storage medium isprovided. The non-transitory computer-readable storage medium isconfigured to store a computer program which, when executed by aprocessor, causes the processor to carry out all or part of the actionsof any method according to the first aspect of the implementations ofthe present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to illustrate technical solutions of implementations of thepresent disclosure more clearly, the drawings used in theimplementations will be briefly described below. It will be apparentthat the drawings described in the following are merely someimplementations of the present disclosure, and it will be apparent tothose skilled in the art that other drawings can be obtained from thedrawings without any creative work.

FIG. 1 is a schematic flow chart illustrating a method for fingerprintunlocking according to a first implementation of the present disclosure.

FIG. 2 is a schematic flow chart illustrating a method for fingerprintunlocking according to a second implementation of the presentdisclosure.

FIG. 3 is a schematic flow chart illustrating a method for fingerprintunlocking according to a third implementation of the present disclosure.

FIG. 4 is a schematic flow chart illustrating a method for fingerprintunlocking according to a fourth implementation of the presentdisclosure.

FIG. 5A is a schematic structural diagram illustrating a terminalaccording to a first implementation of the present disclosure.

FIG. 5B is another schematic structural diagram illustrating a terminalaccording to the first implementation of the present disclosure.

FIG. 5C is another schematic structural diagram illustrating a terminalaccording to the first implementation of the present disclosure.

FIG. 6 is a schematic structural diagram illustrating a terminalaccording to a second implementation of the present disclosure.

DETAILED DESCRIPTION

Implementations of the present disclosure provide a method forfingerprint unlocking and a terminal, which can improve the efficiencyof fingerprint unlocking.

Technical solutions of the present disclosure will be described clearlyand completely with reference to the accompanying drawings; obviously,the implementations described below are merely part of rather than allof the implementations of the present disclosure. Based on theimplementations of the present disclosure, other implementationsobtained from without any creative work by those of ordinary skill inthe art shall fall into the protection scope of the present disclosure.

The terms “first”, “second”, “third”, “fourth”, and the like in thespecification and claims of the present disclosure and the drawings areused to distinguish different objects rather than describe a specificorder. In addition, terms of “including” and “having” and any inflexionsthereof are intended to cover a non-exclusive inclusions relationship.For example, processes, methods, systems, products or devices containinga series of operations or units are not limitative to listed processesor units, other processes or units which are not listed can also beincluded, or other processes or units inherent to these processes,methods, products or devices can also be included.

The term “embodiment” or “implementation” referred to herein means thata particular feature, structure, or feature described in conjunctionwith the implementation may be contained in at least one implementationof the present disclosure. The phrase appearing in various places in thespecification does not necessarily refer to the same implementation, nordoes it refer to an independent or alternative implementation that ismutually exclusive with other implementations. It is expressly andimplicitly understood by those skilled in the art that an implementationdescribed herein may be combined with other implementations.

A terminal illustrated in the implementations of the present disclosuremay include a smart phone (e.g., Android phone, iOS phone, WindowsPhone, etc.), a tablet computer, a palmtop computer, a laptop computer,a mobile internet device (MID) or a wearable device. The foregoingterminal is only exemplary rather than exhaustive. The presentdisclosure includes but is not limited to the foregoing terminal.

Referring to FIG. 1, FIG. 1 is a schematic flow chart illustrating amethod for fingerprint unlocking according to a first implementation ofthe present disclosure. The method for fingerprint unlocking describedin the implementation of the present disclosure starts with operationsat block 101.

At block 101, fingerprint information for an application to be unlockedis acquired.

In one implementation of the present disclosure, the application(s) tobe unlocked may include but is not limited to: mailboxes, address books,memos, calendars, weather, maps, settings, games, photo albums, videos,and the like. Normally, users can encrypt important applications of theterminal to prevent important information from being leaked when aterminal such as a mobile phone is lost. When the user opens theapplication to be unlocked, a prompt message will pop up on a displaypage of the application to be unlocked. The prompt message is configuredto prompt the user to perform fingerprint verification. The terminal mayobtain the fingerprint information for the application to be unlocked.The fingerprint information is input by the user and may be afingerprint image, fingerprint ridges, or fingerprint feature points.

At block 102, the fingerprint information is compared with presetfingerprint information.

The terminal can store the preset fingerprint information in advance.The preset fingerprint information is used in the process of unlockingan application. The terminal may compare the fingerprint informationinput by the user with the preset fingerprint information, and display arefreshed display page of the application to be unlocked when thefingerprint information matches the preset fingerprint informationsuccessfully. The fingerprint information can include at least one of: afingerprint image, fingerprint ridges, and fingerprint feature points.In an implementation, the fingerprint information is a fingerprintimage, and a matching value between the fingerprint image and a presetfingerprint image can be compared. When the matching value reaches acertain threshold, it indicates that the fingerprint image matches thepreset fingerprint image successfully. On the other hand, when thematching value does not reach the certain threshold, it indicates thatthe fingerprint image does not match the preset fingerprint image. In animplementation, the fingerprint information is fingerprint ridges.Similarly, when the fingerprint information is compared with the presetfingerprint information, the fingerprint ridges can be compared withpreset fingerprint ridges. When a matching value reaches a certainthreshold, it indicates that the fingerprint ridges match the presetfingerprint ridges successfully. When the matching value does not reachthe certain threshold, it indicates that the fingerprint ridges do notmatch the preset fingerprint ridges. In an implementation, thefingerprint information is fingerprint feature points. Before thefingerprint information is compared with the preset fingerprintinformation, fingerprint feature points such as Harris corners andscale-invariant feature transform (SIFT) corners of the fingerprintinformation can be extracted. Fingerprint feature points of the acquiredfingerprint information can be compared with fingerprint feature pointsof the preset fingerprint information. When a matching value reaches acertain threshold, it can be determined that the fingerprint featurepoints of the fingerprint information are successfully matched with thefingerprint feature points of the preset fingerprint information. Whenthe matching value does not reach the certain threshold, it can bedetermined that the fingerprint feature points of the fingerprintinformation do not match the fingerprint feature points of the presetfingerprint information.

At block 103, a display page of the application to be unlocked isrefreshed in parallel with comparing the fingerprint information withthe preset fingerprint information.

In an implementation of the present disclosure, the terminal may performoperations at block 102 and operations at block 103 in two processes.One process is configured to compare the fingerprint information withthe preset fingerprint information, and the other process is configuredto refresh the display page of the application to be unlocked inparallel with the execution of the first process.

In an implementation, the terminal may refresh the display page of theapplication to be unlocked in parallel at a certain point, the certaintime point is after a time when comparison of the fingerprintinformation and the preset fingerprint information begins and before theend of fingerprint unlocking.

In an implementation, the fingerprint information is the fingerprintimage. In the process of comparing the fingerprint information with thepreset fingerprint information, the terminal can divide the fingerprintimage into several parts, and the terminal may compare each part of thefingerprint image sequentially. When an area that is successfullymatched in the fingerprint image is greater than a first presetthreshold (when the fingerprint information is the fingerprint image,the first preset threshold can refer to a threshold A), the display pageof the application to be unlocked is refreshed in parallel. The firstpreset threshold may be a specific value set by the user, or the firstpreset threshold may be determined according to the size of thefingerprint image or the preset fingerprint image. For example, thefirst preset threshold is 20% of the area of the fingerprint image, orthe first preset threshold is 20% of the area of the preset fingerprintimage.

In an implementation, the fingerprint information is the fingerprintimage. In the process of comparing the fingerprint information with thepreset fingerprint information, when a matching value between thefingerprint information and the preset fingerprint information does notreach the first preset threshold, the display page of the application tobe unlocked will not be refreshed. In one implementation, a matchingvalue when the fingerprint information matches the preset fingerprintinformation successfully may be referred to as a second preset threshold(when the fingerprint information is the fingerprint image, the secondpreset threshold can refer to a threshold B). Fingerprint matchthresholds may change in different application scenarios. For example,in a scenario of fingerprint payment, the fingerprint match thresholdneeds to be relatively high, and in a scenario of fingerprint unlock,the fingerprint match threshold is lower than that in the scenario offingerprint payment. Based on the above, the second preset threshold maybe 100%, 90%, and the like, which will be not limited herein. The firstpreset threshold is less than the second preset threshold. When thematching value between the fingerprint information and the presetfingerprint image is less than the first preset threshold, it indicatesthat the fingerprint information does not match the preset fingerprintinformation, the fingerprint unlocking will not be performed, and thedisplay page of the application to be unlocked will not be refreshed,which can reduce the power consumption of the terminal.

In an implementation, the fingerprint information is one of fingerprintridges and fingerprint feature points. In the process of comparing thefingerprint information with the preset fingerprint information, when amatching value between the fingerprint information and the presetfingerprint information reaches a third preset threshold (when thefingerprint information is one of fingerprint ridges and fingerprintfeature points, the third preset threshold can refer to a threshold C),the display page of the application to be unlocked is refreshed inparallel. The third preset threshold may be a specific value set by theuser.

In an implementation, the fingerprint information is one of fingerprintridges and fingerprint feature points. In the process of comparing thefingerprint information with the preset fingerprint information, when amatching value between the fingerprint information and the presetfingerprint information does not reach the third preset threshold, thedisplay page of the application to be unlocked will not be refreshed. Inone implementation, a matching value when the fingerprint informationmatches the preset fingerprint information successfully may be referredto as a fourth preset threshold (when the fingerprint information is oneof fingerprint ridges and fingerprint feature points, the fourth presetthreshold can refer to a threshold D). The third preset threshold isless than the fourth preset threshold. When the matching value betweenthe fingerprint information and the preset fingerprint image is lessthan the third preset threshold, it indicates that the fingerprintinformation does not match the preset fingerprint information, thefingerprint unlocking will not be performed, and the display page of theapplication to be unlocked will not be refreshed, which can reduce thepower consumption of the terminal.

In another implementation, when the terminal refreshes of the displaypage of the application to be unlocked, the terminal may first obtainupdate-data of the application to be unlocked. That is, in the processof updating the application to be unlocked, only update-data rather thanpage data of the entire page needs to be refreshed. This makes itpossible to shorten refreshing time of the display page of theapplication to be unlocked and reduce the power consumption of theterminal. The terminal may monitor data of the application to beunlocked at regular intervals to determine which part of the page dataof the application to be unlocked needs to be refreshed, so as to obtainthe update-data. In an implementation, the terminal may also refresh alldata of the display page of the application to be unlocked.

At block 104, a refreshed display page of the application to be unlockedis displayed, when the fingerprint information matches the presetfingerprint information successfully.

In the implementation of the present disclosure, when the fingerprintinformation matches the preset fingerprint information successfully, theterminal may display the refreshed display page of the application to beunlocked. In an implementation, the refreshed display page of theapplication to be unlocked will be displayed after the fingerprint ismatched successfully despite the fact that the display page of theapplication to be unlocked has been refreshed before the fingerprintcomparison is completed. In another implementation, if the display pageof the application to be unlocked has not been refreshed completelyafter the fingerprint is matched successfully, the terminal may notdisplay the refreshed display page of the application to be unlockedafter the fingerprint information matches the preset fingerprintinformation successfully, until the display page is refreshedcompletely.

In an implementation, when the fingerprint information does not matchthe preset fingerprint information and the display page of theapplication to be unlocked has not been refreshed completely, theterminal may stop refreshing the display page of the application to beunlocked. Further, the terminal may also save the display page of theapplication to be unlocked that has not been refreshed completely, sothat when the display page of the application to be unlocked needs to berefreshed next time, the terminal may conduct refreshing directly on thebasis of the display page of the application to be unlocked that has notbeen refreshed completely.

In an implementation, the terminal may acquire the fingerprintinformation for the application to be unlocked, and refresh the displaypage of the application to be unlocked in parallel with acquiring thefingerprint information for the application to be unlocked. Theabove-mentioned process can be executed separately in two processes. Thefirst process is to acquire the fingerprint information for theapplication to be unlocked and compare the fingerprint information withpreset fingerprint information. The second process is to refresh thedisplay page of the application to be unlocked, and display therefreshed display page of the application to be unlocked when thefingerprint information matches the preset fingerprint informationsuccessfully. Time required for acquiring the fingerprint information isrelatively shorter compared with time required for the fingerprintcomparison.

By means of the implementations of the present disclosure, fingerprintinformation for an application to be unlocked is acquired. Further, thefingerprint information is compared with preset fingerprint information.A display page of the application to be unlocked is refreshed inparallel with comparing the fingerprint information with the presetfingerprint information. Then, a refreshed display page of theapplication to be unlocked is displayed, when the fingerprintinformation matches the preset fingerprint information successfully. Thedisplay page of the application to be unlocked is refreshed in parallelwith fingerprint comparing. Since the fingerprint comparing and thedisplay page refreshing are performed in parallel, compared to therelated art in which time for application unlocking includes time forfingerprint unlocking and time for refreshing the application to beunlocked, here, time for unlocking the application to be unlocked can beshortened and the unlocking efficiency can be improved. Moreover, powerconsumption, caused by refreshing the display page of the application tobe unlocked when the unlocking is unsuccessful, can be reduced.

Referring to FIG. 2, FIG. 2 is a schematic flow chart illustrating amethod for fingerprint unlocking according to a second implementation ofthe present disclosure. The method for fingerprint unlocking describedin the implementation of the present disclosure starts with operationsat block 201.

At block 201, fingerprint information for an application to be unlockedis acquired.

At block 202, the fingerprint information is compared with presetfingerprint information.

At block 203, in the process of comparing the fingerprint informationwhich is a fingerprint image with the preset fingerprint information, adisplay page of the application to be unlocked is refreshed in parallelwhen an area that is successfully matched in the fingerprint imagereaches a first preset threshold.

In an implementation, the fingerprint information is the fingerprintimage. In the process of comparing the fingerprint information with thepreset fingerprint information, the terminal can divide the fingerprintimage into several parts, and the terminal may compare each part of thefingerprint image sequentially. When the area that is successfullymatched in the fingerprint image is greater than the first presetthreshold, the display page of the application to be unlocked isrefreshed in parallel. The first preset threshold may be a specificvalue set by the user, or the first preset threshold may be determinedaccording to the size of the fingerprint image, for example, the firstpreset threshold is 20% of the area of the fingerprint image. When thearea that is successfully matched in the fingerprint image reaches thefirst preset threshold, the process of fingerprint comparing is stillgoing on, and the process of fingerprint comparing does not end untilthe fingerprint is matched successfully or the entire fingerprint imageis compared.

In an implementation, the fingerprint information is the fingerprintimage. In the process of comparing the fingerprint information with thepreset fingerprint information, when the matching area that issuccessfully matched in the fingerprint image does not reach the firstpreset threshold, the display page of the application to be unlockedwill not be refreshed. In one implementation, a matching area when thefingerprint information matches the preset fingerprint informationsuccessfully may be referred to as a second preset threshold. The firstpreset threshold is less than the second preset threshold. When thematching area in the fingerprint image that is successfully matched withthe preset fingerprint information is less than the first presetthreshold, it indicates that the fingerprint information does not matchthe preset fingerprint information, the fingerprint unlocking will notbe performed, and the display page of the application to be unlockedwill not be refreshed, which can reduce the power consumption of theterminal.

In another implementation, when the terminal refreshes of the displaypage of the application to be unlocked, the terminal may first obtainupdate-data of the application to be unlocked. In other words, in theprocess of updating the application to be unlocked, only update-datarather than page data of the entire page needs to be refreshed. Thismakes it possible to shorten refreshing time of the display page of theapplication to be unlocked and reduce the power consumption of theterminal. The terminal may monitor data of the application to beunlocked at regular intervals to determine which part of the page dataof the application to be unlocked needs to be refreshed.

At block 204, a refreshed display page of the application to be unlockedis displayed, when the fingerprint information matches the presetfingerprint information successfully.

By means of the implementations of the present disclosure, fingerprintinformation for an application to be unlocked is acquired, and thefingerprint information is compared with preset fingerprint information.The fingerprint information is a fingerprint image. In the process ofcomparing the fingerprint information with the preset fingerprintinformation, a display page of the application to be unlocked isrefreshed in parallel when an area reaches a first preset threshold. Thearea is successfully matched in the fingerprint image. Then, a refresheddisplay page of the application to be unlocked is displayed, when thefingerprint information matches the preset fingerprint informationsuccessfully. Therefore, the display page of the application to beunlocked is refreshed in parallel with fingerprint comparing, since thefingerprint comparing and the display page refreshing are performed inparallel, this makes it possible to shorten time for unlocking theapplication and improve the unlocking efficiency. Moreover, powerconsumption, caused by refreshing the display page of the application tobe unlocked when the unlocking is unsuccessful, can be reduced.

Referring to FIG. 3, FIG. 3 is a schematic flow chart illustrating amethod for fingerprint unlocking according to a third implementation ofthe present disclosure. The method for fingerprint unlocking describedin the implementation of the present disclosure starts with operationsat block 301.

At block 301, fingerprint information for an application to be unlockedis acquired.

At block 302, the fingerprint information is compared with presetfingerprint information.

At block 303, in the process of comparing the fingerprint informationwith the preset fingerprint information, a display page of theapplication to be unlocked is refreshed in parallel when a matchingvalue between the fingerprint information and the preset fingerprintinformation reaches a third preset threshold.

In an implementation, in the process of comparing the fingerprintinformation with the preset fingerprint information, when a matchingvalue between the fingerprint information and the preset fingerprintimage reaches the third preset threshold, the display page of theapplication to be unlocked is refreshed. The third preset threshold mayinclude but is limited to 30%, 34%, 36.5%, 50%, 56%, 80%, 85%, and thelike. When the matching value between the fingerprint information andthe preset fingerprint image reaches the third preset threshold, theprocess of fingerprint comparing is still going on. The process offingerprint comparing does not end until the fingerprint is matchedsuccessfully or the entire fingerprint information has been compared.

In an implementation, in the process of comparing the fingerprintinformation with the preset fingerprint information, when the matchingvalue between the fingerprint information and the preset fingerprintimage does not reach the third preset threshold, the display page of theapplication to be unlocked is not refreshed. In one implementation, amatching value when the fingerprint information matches the presetfingerprint information successfully may be referred to as a fourthpreset threshold. The third preset threshold is less than the fourthpreset threshold. The third preset threshold is a matching value whenthe fingerprint information does not match the preset fingerprintinformation successfully. When the matching value between thefingerprint information and the preset fingerprint image is less thanthe third preset threshold, it indicates that the fingerprintinformation does not match the preset fingerprint information, thefingerprint unlocking will not be performed, and the display page of theapplication to be unlocked will not be refreshed, which can reduce thepower consumption of the terminal.

In another implementation, when the terminal refreshes of the displaypage of the application to be unlocked, the terminal may first obtainupdate-data of the application to be unlocked. That is, in the processof updating the application to be unlocked, only update-data rather thanall page data needs to be refreshed. This makes it possible to not onlyshorten refreshing time of the display page of the application to beunlocked, but also reduce the power consumption of the terminal. Theterminal may monitor data of the application to be unlocked at regularintervals to determine which part of the page data of the application tobe unlocked needs to be refreshed.

At block 304, a refreshed display page of the application to be unlockedis displayed, when the fingerprint information matches the presetfingerprint information successfully.

By means of the implementations of the present disclosure, fingerprintinformation for an application to be unlocked is acquired, and thefingerprint information is compared with preset fingerprint information.In the process of comparing the fingerprint information with the presetfingerprint information, a display page of the application to beunlocked is refreshed in parallel when a matching value between thefingerprint information and the preset fingerprint information reaches athird preset threshold. A refreshed display page of the application tobe unlocked is displayed, when the fingerprint information matches thepreset fingerprint information successfully. Therefore, the display pageof the application to be unlocked is refreshed in parallel withfingerprint comparing, since the display page is refreshed in parallelwhen the matching value of the fingerprint matching reaches a certainthreshold, this makes it possible to shorten time for unlocking theapplication and improve the unlocking efficiency. Moreover, powerconsumption, caused by refreshing the display page of the application tobe unlocked when the unlocking is unsuccessful, can be reduced.

Referring to FIG. 4, FIG. 4 is a schematic flow chart illustrating amethod for fingerprint unlocking according to a fourth implementation ofthe present disclosure. The method for fingerprint unlocking describedin the implementation of the present disclosure starts with operationsat block 401.

At block 401, fingerprint information for an application to be unlockedis acquired.

At block 402, the fingerprint information is compared with presetfingerprint information.

At block 403, a display page of the application to be unlocked isrefreshed in parallel with comparing the fingerprint information withthe preset fingerprint information.

At block 404, refreshing the display page of the application to beunlocked is stopped when the fingerprint information does not match thepreset fingerprint information.

In the implementation of the present disclosure, when the fingerprintinformation does not match the preset fingerprint information and thedisplay page of the application to be unlocked has not been refreshedcompletely, the terminal may stop refreshing the display page of theapplication to be unlocked. Further, the terminal may also save thedisplay page of the application to be unlocked that has not beenrefreshed completely, so that when the display page of the applicationto be unlocked needs to be refreshed next time, the terminal may conductrefreshing directly on the basis of the display page of the applicationto be unlocked. The display page of the application to be unlocked hasnot been refreshed completely.

By means of the implementations of the present disclosure, fingerprintinformation for an application to be unlocked is acquired. Then, thefingerprint information is compared with preset fingerprint information.A display page of the application to be unlocked is refreshed inparallel with comparing the fingerprint information with the presetfingerprint information. Further, refreshing the display page of theapplication to be unlocked is stopped when the fingerprint informationdoes not match the preset fingerprint information. Therefore, thedisplay page of the application to be unlocked is refreshed in parallelwith fingerprint comparing. Refreshing the display page of theapplication to be unlocked is stopped when the fingerprint informationdoes not match the preset fingerprint information. In this way, powerconsumption, caused by refreshing the display page of the application tobe unlocked when the unlocking is unsuccessful, can be reduced.

Referring to FIG. 5A, FIG. 5A is a schematic structural diagramillustrating a terminal according to a first implementation of thepresent disclosure. The terminal described in the implementation of thepresent disclosure includes an acquiring unit 501, a comparing unit 502,a refreshing unit 503, and a displaying unit 504.

The acquiring unit 501 is configured to acquire fingerprint informationfor an application to be unlocked.

The comparing unit 502 is configured to compare the fingerprintinformation acquired by the acquiring unit 501 with preset fingerprintinformation.

The refreshing unit 503 is configured to refresh a display page of theapplication to be unlocked in parallel with the comparing unit 502comparing the fingerprint information with the preset fingerprintinformation.

The displaying unit 504 is configured to display a refreshed displaypage of the application to be unlocked refreshed by the refreshing unit503, when a comparison result of the comparing unit 502 is that thefingerprint information matches the preset fingerprint informationsuccessfully.

In an implementation, the fingerprint information is a fingerprintimage. The refreshing unit 503 is configured to refresh the display pageof the application to be unlocked in parallel when an area that issuccessfully matched in the fingerprint image reaches a first presetthreshold, in the process of comparing the fingerprint information withthe preset fingerprint information.

In an implementation, the fingerprint information is one of fingerprintridges and fingerprint feature points. The refreshing unit 503 isconfigured to refresh the display page of the application to be unlockedin parallel when a matching value between the fingerprint informationand the preset fingerprint information reaches a third preset threshold,in the process of comparing the fingerprint information with the presetfingerprint information.

In another implementation, as illustrated in FIG. 5B, the refreshingunit 503 of the terminal illustrated in FIG. 5A can include an obtainingsub-unit 5031 and a refreshing sub-unit 5032.

The obtaining sub-unit 5031 is configured to obtain update-data of theapplication to be unlocked in parallel with the comparing unit 502comparing the fingerprint information with the preset fingerprintinformation.

The refreshing sub-unit 5032 is configured to refresh the display pageof the application to be unlocked on the basis of the update-dataobtained by the obtaining sub-unit 5031.

In another implementation, as illustrated in FIG. 5C, the terminalillustrated in FIG. 5A can further include a stopping unit 505.

The stopping unit 505 is configured to stop refreshing the display pageof the application to be unlocked when a comparison result of thecomparing unit 502 is that the fingerprint information does not matchthe preset fingerprint information.

By means of the terminal described in the implementations of the presentdisclosure, fingerprint information for an application to be unlocked isacquired. Then, the fingerprint information is compared with presetfingerprint information. Further, a display page of the application tobe unlocked is refreshed in parallel with comparing the fingerprintinformation with the preset fingerprint information. A refreshed displaypage of the application to be unlocked is displayed, when thefingerprint information matches the preset fingerprint informationsuccessfully. Therefore, the display page of the application to beunlocked is refreshed in parallel with fingerprint comparing. Since thefingerprint comparing and the display page refreshing are performed inparallel, this makes it possible to shorten unlocking time of theapplication to be unlocked and improve unlocking efficiency.

The above units and sub-units can be realized through one or moreprocessors, for example, the above units can be integrated in oneprocessor, or can be distributed among different processors.

FIG. 6 is a schematic structure diagram of a terminal according to asecond implementation of the present disclosure. The terminalillustrated in the implementation may include at least one input device1000, at least one output device 2000, at least one processor 3000 (suchas a central processing unit (CPU)), and a computer readable storage4000. The input device 1000, the output device 2000, the processor 3000,and the computer readable storage 4000 are coupled together via a bus5000.

The input device 1000 may be a touch panel, a physical key, a mouse, afingerprint recognition module, etc.

The output device 2000 may be a display screen.

The computer readable storage 4000 may be a high-speed random accessmemory (RAM), or may be a non-volatile memory such as a disk memory. Thecomputer readable storage 4000 is configured to store a set of programcodes.

The input device 1000 is configured to evoke the program codes stored inthe memory to carry out the following actions: acquiring fingerprintinformation for an application to be unlocked.

The processor 3000 is caused to carry out the following actions:comparing the fingerprint information with preset fingerprintinformation, refreshing a display page of the application to be unlockedin parallel with comparing the fingerprint information with the presetfingerprint information, and displaying a refreshed display page of theapplication to be unlocked when the fingerprint information matches thepreset fingerprint information successfully.

In an implementation, the fingerprint information is a fingerprintimage, the processor 3000 carrying out the action of refreshing thedisplay page of the application to be unlocked in parallel withcomparing the fingerprint information with the preset fingerprintinformation is caused to carry out actions: refreshing the display pageof the application to be unlocked in parallel when an area that issuccessfully matched in the fingerprint image reaches a first presetthreshold, in the process of comparing the fingerprint information withthe preset fingerprint information.

The first preset threshold is less than a second preset threshold, andthe second preset threshold refers to a matching area when thefingerprint information matches the preset fingerprint informationsuccessfully.

In an implementation, the fingerprint information is one of fingerprintridges and fingerprint feature points, the processor 3000 carrying outthe action of refreshing the display page of the application to beunlocked in parallel with comparing the fingerprint information with thepreset fingerprint information is caused to carry out actions:refreshing the display page of the application to be unlocked inparallel when a matching value between the fingerprint information andthe preset fingerprint information reaches a third preset threshold, inthe process of comparing the fingerprint information with the presetfingerprint information.

The third preset threshold is less than a fourth preset threshold, thefourth preset threshold refers to a matching value when the fingerprintinformation matches the preset fingerprint information successfully.

In an implementation, the processor 3000 carrying out the action ofrefreshing the display page of the application to be unlocked inparallel is caused to carry out actions: obtaining update-data of theapplication to be unlocked in parallel with comparing the fingerprintinformation with the preset fingerprint information and refreshing thedisplay page of the application to be unlocked on the basis of theupdate-data.

In an implementation, the processor 3000 is further caused to carry outactions: stopping refreshing the display page of the application to beunlocked when the fingerprint information does not match the presetfingerprint information.

In a specific implementation, the input device 1000, the output device2000, and the processor 3000 can be configured to implementimplementations described in the first, second, third, and fourthimplementation of the method for fingerprint unlocking of theimplementations of the present disclosure. The input device 1000, theoutput device 2000, and the processor 3000 can also be configured toimplement implementations described in the first and secondimplementation of the terminal of the implementations of the presentdisclosure, which will not be described in detail herein.

The implementations of the present disclosure also provide anon-transitory computer-readable storage medium. The non-transitorycomputer-readable storage medium stores computer programs which, whenexecuted by a processor, causes the processor to carry out all or partof the actions of any method for fingerprint unlocking described in theabove-described implementations.

In the foregoing implementations, the description of each implementationhas its own emphasis. For the parts not described in detail in oneimplementation, reference may be made to related descriptions in otherimplementations.

It is to be noted that, for the sake of simplicity, the foregoingimplementations are described as a series of action combinations;however, it will be appreciated by those skilled in the art that thepresent disclosure is not limited by the sequence of actions described.According to the present disclosure, certain steps or operations may beperformed in other order or simultaneously. Besides, it will beappreciated by those skilled in the art that the implementationsdescribed in the specification are exemplary implementations and theactions and modules involved are not necessarily essential to thepresent disclosure.

In the implementations of the disclosure, the apparatus disclosed inimplementations provided herein may be implemented in other manners. Forexample, the device/apparatus implementations described above are merelyillustrative; for instance, the division of the unit is only a logicalfunction division and there can be other manners of division duringactual implementations, for example, multiple units or components may becombined or may be integrated into another system, or some features maybe ignored, omitted, or not performed. In addition, coupling orcommunication connection between each illustrated or discussed componentmay be direct coupling or communication connection, or may be indirectcoupling or communication among devices or units via some interfaces,and may be electrical connection, mechanical connection, or other formsof connection.

The units described as separate components may or may not be physicallyseparated, the components illustrated as units may or may not bephysical units, that is, they may be in the same place or may bedistributed to multiple network elements. All or part of the units maybe selected according to actual needs to achieve the purpose of thetechnical solutions of the implementations.

In addition, the functional units in various implementations of thepresent disclosure may be integrated into one processing unit, or eachunit may be physically present, or two or more units may be integratedinto one unit. The above-mentioned integrated unit can be implemented inthe form of hardware or a software function unit.

The integrated unit may be stored in a computer-readable memory when itis implemented in the form of a software functional unit and is sold orused as a separate product. Based on such understanding, the technicalsolutions of the present disclosure essentially, or the part of thetechnical solutions that contributes to the related art, or all or partof the technical solutions, may be embodied in the form of a softwareproduct which is stored in a memory and includes instructions forcausing a computer device (which may be a personal computer, a server,or a network device and so on) to perform all or part of the stepsdescribed in the various implementations of the present disclosure. Thenon-transitory memory includes various medium capable of storing programcodes, such as a USB (universal serial bus) flash disk, a read-onlymemory (ROM), a random-access memory (RAM), a removable hard disk, Disk,compact disc (CD), or the like.

It will be understood by those of ordinary skill in the art that all ora part of the various methods of the implementations described above maybe accomplished by means of a program to instruct associated hardware,the program may be stored in a computer-readable memory, which mayinclude a flash memory, a read-only memory (ROM), a random-access memory(RAM), Disk or compact disc (CD), and so on.

While the present disclosure has been described in detail above withreference to the exemplary implementations, the scope of the presentdisclosure is not limited thereto. As will occur to those skilled in theart, the present disclosure is susceptible to various modifications andchanges without departing from the spirit and principle of the presentdisclosure. Therefore, the scope of the present disclosure should bedetermined by the scope of the claims.

What is claimed is:
 1. A method for application unlocking, comprising:acquiring fingerprint information for an application to be unlocked;performing actions of comparing the fingerprint information with presetfingerprint information and refreshing a display page of the applicationto be unlocked in parallel; displaying a refreshed display page of theapplication to be unlocked, when the fingerprint information matches thepreset fingerprint information successfully; and stopping refreshing thedisplay page of the application to be unlocked, when the fingerprintinformation does not match the preset fingerprint information and thedisplay page of the application to be unlocked has not been refreshedcompletely; wherein the fingerprint information is a fingerprint image,wherein performing the actions of comparing the fingerprint informationwith the preset fingerprint information and refreshing the display pageof the application to be unlocked in parallel comprises: comparing thefingerprint information with the preset fingerprint information; andrefreshing the display page of the application to be unlocked whilecontinuing performing the action of comparing the fingerprintinformation with the preset fingerprint information, when an area thatis successfully matched in the fingerprint image reaches a first presetthreshold before a fingerprint comparison is completed.
 2. The method ofclaim 1, wherein the first preset threshold is less than a second presetthreshold, the second preset threshold refers to a matching area whenthe fingerprint information matches the preset fingerprint informationsuccessfully.
 3. The method of claim 1, wherein refreshing the displaypage of the application to be unlocked comprises: obtaining update-dataof the application to be unlocked; and refreshing the display page ofthe application to be unlocked based on the update-data.
 4. A terminal,comprising: at least one processor; and a computer readable storage,coupled to the at least one processor and storing at least one computerexecutable instruction thereon which, when executed by the at least oneprocessor, causes the at least one processor to: acquire fingerprintinformation for an application to be unlocked; perform actions ofcomparing the fingerprint information with preset fingerprintinformation and refreshing a display page of the application to beunlocked in parallel; display a refreshed display page of theapplication to be unlocked, when the fingerprint information matches thepreset fingerprint information successfully; and stop refreshing thedisplay page of the application to be unlocked, when the fingerprintinformation does not match the preset fingerprint information and thedisplay page of the application to be unlocked has not been refreshedcompletely; wherein the fingerprint information is a fingerprint image,and the at least one processor caused to perform the actions ofcomparing the fingerprint information with the preset fingerprintinformation and refreshing the display page of the application to beunlocked in parallel is caused to: compare the fingerprint informationwith the preset fingerprint information; and refresh the display page ofthe application to be unlocked while continuing performing the action ofcomparing the fingerprint information with the preset fingerprintinformation, when an area that is successfully matched in thefingerprint image reaches a first preset threshold before a fingerprintcomparison is completed.
 5. The terminal of claim 4, wherein the firstpreset threshold is less than a second preset threshold, the secondpreset threshold refers to a matching area when the fingerprintinformation matches the preset fingerprint information successfully. 6.The terminal of claim 4, wherein the at least one processor caused torefresh the display page of the application to be unlocked is caused to:obtain update-data of the application to be unlocked; and refresh thedisplay page of the application to be unlocked based on the update-data.7. A non-transitory computer-readable storage medium storing a computerprogram which, when executed by a processor, causes the processor to:acquire fingerprint information for an application to be unlocked;perform actions of comparing the fingerprint information with presetfingerprint information refreshing a display page of the application tobe unlocked in parallel; display a refreshed display page of theapplication to be unlocked, when the fingerprint information matches thepreset fingerprint information successfully; and stop refreshing thedisplay page of the application to be unlocked, when the fingerprintinformation does not match the preset fingerprint information and thedisplay page of the application to be unlocked has not been refreshedcompletely; wherein the fingerprint information is a fingerprint image,and the computer program executed by the processor to perform theactions of comparing the fingerprint information with the presetfingerprint information and refreshing the display page of theapplication to be unlocked in parallel is executed by the processor to:compare the fingerprint information with the preset fingerprintinformation; and refresh the display page of the application to beunlocked while continuing performing the action of comparing thefingerprint information with the preset fingerprint information, when anarea that is successfully matched in the fingerprint image reaches afirst preset threshold before a fingerprint comparison is completed. 8.The non-transitory computer-readable storage medium of claim 7, whereinthe first preset threshold is less than a second preset threshold, thesecond preset threshold refers to a matching area when the fingerprintinformation matches the preset fingerprint information successfully. 9.The non-transitory computer-readable storage medium of claim 7, whereinthe computer program executed by the processor to refresh the displaypage of the application to be unlocked is executed by the processor tocarry out actions, comprising: obtain update-data of the application tobe unlocked; and refresh the display page of the application to beunlocked based on the update-data.